﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001381 RID: 4993
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeQuestRewardCsReq : IMessage<TakeQuestRewardCsReq>, IMessage, IEquatable<TakeQuestRewardCsReq>, IDeepCloneable<TakeQuestRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003EF4 RID: 16116
		// (get) Token: 0x0600DF8F RID: 57231 RVA: 0x00255E58 File Offset: 0x00254058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeQuestRewardCsReq> Parser
		{
			get
			{
				return TakeQuestRewardCsReq._parser;
			}
		}

		// Token: 0x17003EF5 RID: 16117
		// (get) Token: 0x0600DF90 RID: 57232 RVA: 0x00255E5F File Offset: 0x0025405F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeQuestRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003EF6 RID: 16118
		// (get) Token: 0x0600DF91 RID: 57233 RVA: 0x00255E71 File Offset: 0x00254071
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeQuestRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600DF92 RID: 57234 RVA: 0x00255E78 File Offset: 0x00254078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeQuestRewardCsReq()
		{
		}

		// Token: 0x0600DF93 RID: 57235 RVA: 0x00255E8B File Offset: 0x0025408B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeQuestRewardCsReq(TakeQuestRewardCsReq other) : this()
		{
			this.questIdList_ = other.questIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DF94 RID: 57236 RVA: 0x00255EB5 File Offset: 0x002540B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeQuestRewardCsReq Clone()
		{
			return new TakeQuestRewardCsReq(this);
		}

		// Token: 0x17003EF7 RID: 16119
		// (get) Token: 0x0600DF95 RID: 57237 RVA: 0x00255EBD File Offset: 0x002540BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> QuestIdList
		{
			get
			{
				return this.questIdList_;
			}
		}

		// Token: 0x0600DF96 RID: 57238 RVA: 0x00255EC5 File Offset: 0x002540C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeQuestRewardCsReq);
		}

		// Token: 0x0600DF97 RID: 57239 RVA: 0x00255ED3 File Offset: 0x002540D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeQuestRewardCsReq other)
		{
			return other != null && (other == this || (this.questIdList_.Equals(other.questIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DF98 RID: 57240 RVA: 0x00255F08 File Offset: 0x00254108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.questIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DF99 RID: 57241 RVA: 0x00255F3C File Offset: 0x0025413C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DF9A RID: 57242 RVA: 0x00255F44 File Offset: 0x00254144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DF9B RID: 57243 RVA: 0x00255F4D File Offset: 0x0025414D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.questIdList_.WriteTo(ref output, TakeQuestRewardCsReq._repeated_questIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DF9C RID: 57244 RVA: 0x00255F74 File Offset: 0x00254174
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.questIdList_.CalculateSize(TakeQuestRewardCsReq._repeated_questIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DF9D RID: 57245 RVA: 0x00255FAD File Offset: 0x002541AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeQuestRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.questIdList_.Add(other.questIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DF9E RID: 57246 RVA: 0x00255FDB File Offset: 0x002541DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DF9F RID: 57247 RVA: 0x00255FE4 File Offset: 0x002541E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U && num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.questIdList_.AddEntriesFrom(ref input, TakeQuestRewardCsReq._repeated_questIdList_codec);
				}
			}
		}

		// Token: 0x0400588F RID: 22671
		private static readonly MessageParser<TakeQuestRewardCsReq> _parser = new MessageParser<TakeQuestRewardCsReq>(() => new TakeQuestRewardCsReq());

		// Token: 0x04005890 RID: 22672
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005891 RID: 22673
		public const int QuestIdListFieldNumber = 13;

		// Token: 0x04005892 RID: 22674
		private static readonly FieldCodec<uint> _repeated_questIdList_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x04005893 RID: 22675
		private readonly RepeatedField<uint> questIdList_ = new RepeatedField<uint>();
	}
}
